PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.colors Package / PDFRgbColor Class / fromHex Method
Color as hex string (#XXXXXX)
In This Topic
    fromHex Method
    In This Topic
    Creates a RGB color from hex representation.
    Syntax
    public static PDFRgbColor fromHex( 
       java.lang.String hexColor
    )

    Parameters

    hexColor
    Color as hex string (#XXXXXX)

    Return Value

    The corresponding PDFRgbColor.
    See Also